const express = require('express')

const route = express.Router()

//引入权限校验文件
const  isLoginMiddle  = require('../middleware/isLoginMiddle')

//书写一个接口
route.get('/isLogin', isLoginMiddle, async (req, res) => {
  res.send({
    code:10000,
    mesage:'ok',
    data:null
  })
})

module.exports = route